<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><?php echo $title_for_layout . ' | Happy Bidding' ?></title>
    <meta name="author" content="The Chichi Team" />
    <meta name="description" content="" />
    <meta name="keywords" content="Huu Thinh House,Read Smart,Chichi,News,Love,Dream,Money,Passion,Networking,Learning,Entertainment, Tin Tức,Linkhay, Giải trí">
    <meta name="robots" content="index, follow" />
    <?php
        echo $this->Html->meta('icon');
        echo $this->Html->css('style');
        echo $this->Html->script('jquery-1.4.4.min.js');
        echo $this->Html->script('scripts');
        if  (is_file(WWW_ROOT . 'js' . DS . $this->params['controller'] . DS . $this->params['action'] . '.js')) {
            echo $this->Html->script($this->params['controller'] . '/' . $this->params['action']);
        }
    ?>
    <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
    <div id="header">
        <div role="banner" class="banner">
            <img src="/happybidding/img/Logo.png" alt="logo" height="80px" width="211px"/>
            <h1 class="bg_pic">Happy Bidding</h1>
        </div>
    </div>
    <nav class="clearfix">
        <?php echo $this->element('navigation', array('user' => $this->Session->read('Auth.User'))); ?>
    </nav>
    <div id="content-wrapper" class="clearfix" role="main">
        <div id="content">
        <?php
#           also @ user/login page            
            echo $this->Session->flash();
            echo $this->Session->flash('auth');
            echo $this->Session->flash('email');
            echo $content_for_layout;
        ?>
        </div>
        <aside>
        <?php echo $this->element('sidebar'); ?>
        </aside>
    </div>
</body>
</html>
